package com.lkm.app_ui.m.Imple.push.handle;

import android.content.Context;

import com.lkm.app_ui.AppConst;
import com.lkm.market2_0.m.steelyardserver.SteelyardServerModule;
import com.mj.hx.yl.push.PushHandle;

import java.lang.reflect.Type;



public class PushSetSteelyardRepairingHandle implements PushHandle<String>{
    @Override
    public Type getDataClass() {
        return String.class;
    }

    @Override
    public boolean handler(Context context, String steelyardMac) {

        SteelyardServerModule mSteelyardServerModule= AppConst.getModuleManager().loadModule(SteelyardServerModule.class);

        if(mSteelyardServerModule!=null){
            mSteelyardServerModule.setSteelyardRepairing(steelyardMac);
        }
        return true;
    }
}
